<?php
//This will start the SimpleTest Unittesting
require_once ("/Tests/simpletest/autorun.php");

//Open testclasses Dir and require all files!
$dir = "Tests/test_classes/";

if ($handle = opendir($dir)) {
	
	//If we have a handle on the directory, get all .php files and require them
	while (false !== ($file = readdir($handle))) {
		$fileType = preg_split("/\./", $file);
		if ($fileType[1] == "php") {
			require_once ($dir . $file);
		}
	}
	//Let go of the handle
	closedir($handle);
}
